<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
  <div id="app">
      <button v-on:click="handleC">click</button>
      <button @click="handleC">click</button>
  </div>
</body>
<script src="./js/vue.js"></script>
<script>
    new Vue({
      el:"#app",
      data:{
          msg:"hello vue"
      },
      methods:{
          handleC(){
              console.log(this.msg)
          }
      }
    });
</script>
</html>